import styled from "@emotion/styled";
import React from "react";
const Button = styled.button`
    width:130px;
    height:40px;
    background:red;
    color:black
`
const Container = styled.div({
    width: '100%',
    height: 100,
    background: 'red',
    color:'yellow'
})

export default function CssComponent() {
    return (
        <>
            <Container>
                样式化组件-对象写法
                <Button> 样式化组件-字符串写法</Button>
            </Container>
        </>
    )
}